/*
 * XML Type:  EAnnotation
 * Namespace: http://www.eclipse.org/emf/2002/Ecore
 * Java type: org.eclipse.emf.x2002.ecore.EAnnotation
 *
 * Automatically generated - do not modify.
 */
package org.eclipse.emf.x2002.ecore;


/**
 * An XML EAnnotation(@http://www.eclipse.org/emf/2002/Ecore).
 *
 * This is a complex type.
 */
public interface EAnnotation extends org.eclipse.emf.x2002.ecore.EModelElement
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EAnnotation.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("eannotationaeectype");
    
    /**
     * Gets array of all "details" elements
     */
    org.eclipse.emf.x2002.ecore.EStringToStringMapEntry[] getDetailsArray();
    
    /**
     * Gets ith "details" element
     */
    org.eclipse.emf.x2002.ecore.EStringToStringMapEntry getDetailsArray(int i);
    
    /**
     * Returns number of "details" element
     */
    int sizeOfDetailsArray();
    
    /**
     * Sets array of all "details" element
     */
    void setDetailsArray(org.eclipse.emf.x2002.ecore.EStringToStringMapEntry[] detailsArray);
    
    /**
     * Sets ith "details" element
     */
    void setDetailsArray(int i, org.eclipse.emf.x2002.ecore.EStringToStringMapEntry details);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "details" element
     */
    org.eclipse.emf.x2002.ecore.EStringToStringMapEntry insertNewDetails(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "details" element
     */
    org.eclipse.emf.x2002.ecore.EStringToStringMapEntry addNewDetails();
    
    /**
     * Removes the ith "details" element
     */
    void removeDetails(int i);
    
    /**
     * Gets array of all "contents" elements
     */
    org.apache.xmlbeans.XmlObject[] getContentsArray();
    
    /**
     * Gets ith "contents" element
     */
    org.apache.xmlbeans.XmlObject getContentsArray(int i);
    
    /**
     * Returns number of "contents" element
     */
    int sizeOfContentsArray();
    
    /**
     * Sets array of all "contents" element
     */
    void setContentsArray(org.apache.xmlbeans.XmlObject[] contentsArray);
    
    /**
     * Sets ith "contents" element
     */
    void setContentsArray(int i, org.apache.xmlbeans.XmlObject contents);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "contents" element
     */
    org.apache.xmlbeans.XmlObject insertNewContents(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "contents" element
     */
    org.apache.xmlbeans.XmlObject addNewContents();
    
    /**
     * Removes the ith "contents" element
     */
    void removeContents(int i);
    
    /**
     * Gets the "source" attribute
     */
    java.lang.String getSource();
    
    /**
     * Gets (as xml) the "source" attribute
     */
    org.eclipse.emf.x2002.ecore.EString xgetSource();
    
    /**
     * True if has "source" attribute
     */
    boolean isSetSource();
    
    /**
     * Sets the "source" attribute
     */
    void setSource(java.lang.String source);
    
    /**
     * Sets (as xml) the "source" attribute
     */
    void xsetSource(org.eclipse.emf.x2002.ecore.EString source);
    
    /**
     * Unsets the "source" attribute
     */
    void unsetSource();
    
    /**
     * Gets the "references" attribute
     */
    java.util.List getReferences();
    
    /**
     * Gets (as xml) the "references" attribute
     */
    org.eclipse.emf.x2002.ecore.EAnnotation.References xgetReferences();
    
    /**
     * True if has "references" attribute
     */
    boolean isSetReferences();
    
    /**
     * Sets the "references" attribute
     */
    void setReferences(java.util.List references);
    
    /**
     * Sets (as xml) the "references" attribute
     */
    void xsetReferences(org.eclipse.emf.x2002.ecore.EAnnotation.References references);
    
    /**
     * Unsets the "references" attribute
     */
    void unsetReferences();
    
    /**
     * An XML references(@).
     *
     * This is a list type whose items are org.apache.xmlbeans.XmlAnyURI.
     */
    public interface References extends org.apache.xmlbeans.XmlAnySimpleType
    {
        java.util.List getListValue();
        java.util.List xgetListValue();
        void setListValue(java.util.List list);
        /** @deprecated */
        java.util.List listValue();
        /** @deprecated */
        java.util.List xlistValue();
        /** @deprecated */
        void set(java.util.List list);
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(References.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFBDCFB7615E0FAB3CF0394CF3AD1FE99").resolveHandle("referencesea94attrtype");
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static org.eclipse.emf.x2002.ecore.EAnnotation.References newValue(java.lang.Object obj) {
              return (org.eclipse.emf.x2002.ecore.EAnnotation.References) type.newValue( obj ); }
            
            public static org.eclipse.emf.x2002.ecore.EAnnotation.References newInstance() {
              return (org.eclipse.emf.x2002.ecore.EAnnotation.References) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static org.eclipse.emf.x2002.ecore.EAnnotation.References newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (org.eclipse.emf.x2002.ecore.EAnnotation.References) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.eclipse.emf.x2002.ecore.EAnnotation newInstance() {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.eclipse.emf.x2002.ecore.EAnnotation parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.eclipse.emf.x2002.ecore.EAnnotation) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
